﻿using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using GurLoader.View;

namespace GurLoader.Util
{
    [ExcludeFromCodeCoverage]
    public class CommandManagerWrapper : ICommandManager, IRequeryable
    {
        public CommandManagerWrapper()
        {
        }

        public void InvalidateRequerySuggested()
        {
            CommandManager.InvalidateRequerySuggested();
        }

        public event EventHandler RequerySuggested
        {
            add { CommandManager.RequerySuggested += value; }
            remove { CommandManager.RequerySuggested -= value; }
        }
    }
}
